package com.tarzan.edu;

import com.ctrip.framework.apollo.spring.annotation.EnableApolloConfig;
import com.tarzan.common.core.extend.ApolloConfInitializer;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

/**
 * @author liujinshan
 * @title: EduWebApplication
 * @projectName com.tarzan.edu
 * @description: TODO 课程相关
 * @date 2021/5/21 15:09
 */
@EnableDiscoveryClient
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
@EnableApolloConfig
public class EduWebApplication {

    public static void main(String[] args) {
        ApolloConfInitializer.init();
        SpringApplication.run(EduWebApplication.class, args);
    }
}